package com.farsight.leo.fssmartlock.bases;

import android.os.Bundle;
import android.transition.Explode;
import android.transition.Fade;
import android.transition.Slide;
import android.view.Gravity;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

public abstract class BaseActivity extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(set_layout_id());
        initData();
        initView();
        initListeners();

    }

    protected abstract int set_layout_id();

    protected abstract void initData();

    protected abstract void initView();

    protected abstract void initListeners();

}
